package mop.gui.project;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import mop.gui.GUI;
import mop.model.project.ProjectInterface;

/**
 * ProjectDetailsAction
 * 
 * @author  MOP Team 7
 */
public class ProjectDetailsAction implements MouseListener
{
    private GUI gui;
    private ProjectInterface project;
    
    /**
     * Constructor.
     *
     * @param   gui
     * @param   project
     */
    public ProjectDetailsAction(GUI gui, ProjectInterface project)
    {
        this.gui = gui;
        this.project = project;
    }

    public void mouseClicked(MouseEvent e)
    {
        (new ProjectDetailsDialog(gui, project)).setVisible(true);
    }

    public void mousePressed(MouseEvent e)
    {
    }

    public void mouseReleased(MouseEvent e)
    {
    }

    public void mouseEntered(MouseEvent e)
    {        
    }

    public void mouseExited(MouseEvent e)
    {
    }
}